projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a62808b
)
eliminate uneccesary const_cast in osm format.
author
tsteven4
<tsteven4@gmail.com>
Sat, 30 Jun 2018 21:17:12 +0000
(15:17 -0600)
committer
tsteven4
<tsteven4@gmail.com>
Sat, 30 Jun 2018 21:17:12 +0000
(15:17 -0600)
osm.cc
patch
|
blob
|
history
diff --git
a/osm.cc
b/osm.cc
index 6cb3a55a66793be5b5a59cb97504bae7556cefe5..49ab6108bcc41900972c4f72a58d5da6e113c584 100644
(file)
--- a/
osm.cc
+++ b/
osm.cc
@@
-459,10
+459,7
@@
osm_feature_symbol(const int ikey, const char* value)
static char*
osm_strip_html(const char* str)
{
- utf_string utf;
- utf.is_html = true;
- utf.utfstring = const_cast<char*>(str);
-
+ utf_string utf(true, str);
return strip_html(&utf); // util.cc
}